import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/global.less'
import './elementUI/index.js'
import VueQuillEditor from 'vue-quill-editor'
 
// require styles
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
import dayjs from 'dayjs'

 Vue.prototype.$formatDate=(dateObj)=>{
  return dayjs(dateObj).format('YYYY-MM-DD HH:mm:ss')
 }
Vue.use(VueQuillEditor)//注册富文本编辑器
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
